package tsCIM.modelForInterface

/**
 * Created by Administrator on 2019-03-15.
 */
class Header  {
    def TRANSACTIONID
    def MESSAGENAME
    def MACHINENAME
    int WORKNO = 0
    def EVENTUSER = "PDA"
    def EVENTTIME = new Date().format("yyyy-MM-dd HH:mm:ss.SSS")

    def getHeaderModel(){
        return [TRANSACTIONID:TRANSACTIONID,MESSAGENAME:MESSAGENAME,WORKNO:WORKNO,EVENTUSER:EVENTUSER,EVENTTIME:EVENTTIME,MACHINENAME:MACHINENAME]
    }
}
